package org.example.translate_braille.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jacky
 * @since
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_photo")
@ApiModel(value="Photo对象", description="")
public class Photo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "photo_id", type = IdType.ASSIGN_UUID)
    private String photoId;

    @TableField("user_id")
    private String userId;

    @TableField("save_address")
    private String saveAddress;

    @TableField("translate_address")
    private String translateAddress;

    @TableField("photo_name")
    private String photoName;

    @ApiModelProperty(value = "is_deleted", hidden = true)
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty(value = "upload_time", hidden = true)
    @TableField(value = "upload_time",fill = FieldFill.INSERT)
    private Date uploadTime;


}
